package com.company.dao;

import java.util.List;

import com.company.entity.Chanpinfuwu;
import com.company.entity.News;

public class ChanpinfuwuDao extends BaseDao<Chanpinfuwu> {
	public Chanpinfuwu query(int id) {
		String sql = "from Chanpinfuwu where id=?";
		return queryEntiy(sql, id);
	}

	public List<Chanpinfuwu> querys() {
		String sql = "from Chanpinfuwu";
		return (List<Chanpinfuwu>) queryEntiys(sql);
	}

	public void save(Chanpinfuwu chanpinfuwu) {
		super.save(chanpinfuwu);
	}

	public void update(Chanpinfuwu chanpinfuwu) {
		super.update(chanpinfuwu);
	}

	public void delete(Chanpinfuwu chanpinfuwu) {
		super.delete(chanpinfuwu);
	}
}
